<<<<<<< HEAD
package com.example.zhangfeng.commondemo.common;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.example.zhangfeng.commondemo.GlideSetRound.GlideCircleTransform;

/**
 * Created by zhangfeng on 2016/4/28.
 */
public class ImageLoad {

    public static void loadImage(Context context, String url, ImageView iv) {
        Glide.with(context).load(url).into(iv);
    }

    public static void loadRoundImage(Context context, String url, ImageView iv) {
        Glide.with(context).load(url).transform(new GlideCircleTransform(context)).into(iv);
    }
}
=======
package com.example.zhangfeng.commondemo.common;

import android.content.Context;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.example.zhangfeng.commondemo.GlideSetRound.GlideCircleTransform;

/**
 * Created by zhangfeng on 2016/4/28.
 */
public class ImageLoad {

    public static void loadImage(Context context, String url, ImageView iv) {
        Glide.with(context).load(url).into(iv);
    }

    public static void loadRoundImage(Context context, String url, ImageView iv) {
        Glide.with(context).load(url).transform(new GlideCircleTransform(context)).into(iv);
    }
}
>>>>>>> 12b9a08f9380bce72b8c6e055d4084faa0570803
